/// @class : ProjectPage
/// @date : 2021/08/23
/// @name : CTGU_LLZ(404name)
/// @description : 分页数据
class MusicCardData {
  ///当前页数
  String musicUrl = "";

  ///数据
  String imgUrl = "";

  ///偏移
  String musicName = "";

  ///偏移
  String musicDes = "";

  MusicCardData({
    required this.musicUrl,
    required this.imgUrl,
    required this.musicName,
    required this.musicDes,
  });

  MusicCardData.fromJson(Map<dynamic, dynamic> json) {
    musicUrl = json["musicUrl"];
    imgUrl = json["imgUrl"];
    musicName = json["musicName"];
    musicDes = json["musicDes"];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data["imgUrl"] = imgUrl;
    data["imgUrl"] = imgUrl;
    data["musicName"] = musicName;
    data["musicDes"] = musicDes;
    return data;
  }
}

class ProjectTag {
  ///分类名称
  String name = "";

  ///URL
  String url = "";

  ProjectTag({
    required this.name,
    required this.url,
  });

  ProjectTag.fromJson(Map<dynamic, dynamic> json) {
    name = json["name"];
    url = json["url"];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data["name"] = name;
    data["url"] = url;
    return data;
  }
}
